﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001493 RID: 5267
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UnlockChatBubbleScNotify : IMessage<UnlockChatBubbleScNotify>, IMessage, IEquatable<UnlockChatBubbleScNotify>, IDeepCloneable<UnlockChatBubbleScNotify>, IBufferMessage
	{
		// Token: 0x1700424C RID: 16972
		// (get) Token: 0x0600EB71 RID: 60273 RVA: 0x002753D4 File Offset: 0x002735D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UnlockChatBubbleScNotify> Parser
		{
			get
			{
				return UnlockChatBubbleScNotify._parser;
			}
		}

		// Token: 0x1700424D RID: 16973
		// (get) Token: 0x0600EB72 RID: 60274 RVA: 0x002753DB File Offset: 0x002735DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UnlockChatBubbleScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700424E RID: 16974
		// (get) Token: 0x0600EB73 RID: 60275 RVA: 0x002753ED File Offset: 0x002735ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UnlockChatBubbleScNotify.Descriptor;
			}
		}

		// Token: 0x0600EB74 RID: 60276 RVA: 0x002753F4 File Offset: 0x002735F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockChatBubbleScNotify()
		{
		}

		// Token: 0x0600EB75 RID: 60277 RVA: 0x002753FC File Offset: 0x002735FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockChatBubbleScNotify(UnlockChatBubbleScNotify other) : this()
		{
			this.bubbleId_ = other.bubbleId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EB76 RID: 60278 RVA: 0x00275421 File Offset: 0x00273621
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockChatBubbleScNotify Clone()
		{
			return new UnlockChatBubbleScNotify(this);
		}

		// Token: 0x1700424F RID: 16975
		// (get) Token: 0x0600EB77 RID: 60279 RVA: 0x00275429 File Offset: 0x00273629
		// (set) Token: 0x0600EB78 RID: 60280 RVA: 0x00275431 File Offset: 0x00273631
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BubbleId
		{
			get
			{
				return this.bubbleId_;
			}
			set
			{
				this.bubbleId_ = value;
			}
		}

		// Token: 0x0600EB79 RID: 60281 RVA: 0x0027543A File Offset: 0x0027363A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UnlockChatBubbleScNotify);
		}

		// Token: 0x0600EB7A RID: 60282 RVA: 0x00275448 File Offset: 0x00273648
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UnlockChatBubbleScNotify other)
		{
			return other != null && (other == this || (this.BubbleId == other.BubbleId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EB7B RID: 60283 RVA: 0x00275478 File Offset: 0x00273678
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BubbleId != 0U)
			{
				num ^= this.BubbleId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EB7C RID: 60284 RVA: 0x002754B7 File Offset: 0x002736B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EB7D RID: 60285 RVA: 0x002754BF File Offset: 0x002736BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EB7E RID: 60286 RVA: 0x002754C8 File Offset: 0x002736C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BubbleId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.BubbleId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EB7F RID: 60287 RVA: 0x002754FC File Offset: 0x002736FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BubbleId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BubbleId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EB80 RID: 60288 RVA: 0x0027553A File Offset: 0x0027373A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UnlockChatBubbleScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BubbleId != 0U)
			{
				this.BubbleId = other.BubbleId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EB81 RID: 60289 RVA: 0x0027556B File Offset: 0x0027376B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EB82 RID: 60290 RVA: 0x00275574 File Offset: 0x00273774
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.BubbleId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005D37 RID: 23863
		private static readonly MessageParser<UnlockChatBubbleScNotify> _parser = new MessageParser<UnlockChatBubbleScNotify>(() => new UnlockChatBubbleScNotify());

		// Token: 0x04005D38 RID: 23864
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005D39 RID: 23865
		public const int BubbleIdFieldNumber = 3;

		// Token: 0x04005D3A RID: 23866
		private uint bubbleId_;
	}
}
